package com.ruoyi.collection.service;

import java.util.List;
import com.ruoyi.collection.domain.Collection;

/**
 * rewardService接口
 *
 * @author MingYu
 * @date 2021-12-20
 */
public interface ICollectionService
{
    /**
     * 查询reward
     *
     * @param rewardId reward主键
     * @return reward
     */
    public Collection selectCollectionByGoodsId(Int GoodsId);

    /**
     * 查询Collection列表
     *
     * @param Collection collection
     * @return collection集合
     */
    public List<Collection> selectCollectionList(Collection collection);

    /**
     * 新增Collection
     *
     * @param Collection collection
     * @return 结果
     */
    public int insertCollection(Collection collection);

    /**
     * 批量删除Collection
     *
     * @param GoodsId 需要删除的collection主键集合
     * @return 结果
     */
    public int deleteCollectionByGoodsIds(Int[] GoodsIds);

    /**
     * 删除Collection信息
     *
     * @param GoodsId goodsId主键
     * @return 结果
     */
    public int deleteCollectionByGoodsId(Int GoodsId);
}
